﻿<Page x:Class="SGTv2.NuevoDepositoPage2"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="348" d:DesignWidth="516"
	Title="NuevoDepositoPage2">

    <Grid>
        <Label Background="#FFF0F0F0" Content="Sectores" FontSize="11" FontWeight="Bold" Foreground="#FF3B3B3B" Height="26" Margin="12,19,12,0" Name="label3" VerticalAlignment="Top" />
        <DataGrid AutoGenerateColumns="False" ItemsSource="{Binding Path=NuevoDepositoACrear.ColeccionSectores, Mode=TwoWay}" Margin="12,63,12,105" Name="dataGrid1">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=Nombre}" Header="Nombre" Width="15*" />
                <DataGridTextColumn Binding="{Binding Path=Capacidad}" Header="Capacidad" Width="auto" />
                <DataGridTextColumn Binding="{Binding Path=TipoMercaderia.Nombre}" Header="Mercaderia" Width="15*" />
            </DataGrid.Columns>
        </DataGrid>
        <Button Command="{Binding Path=NuevoSector}" Content="Agregar" Height="31" HorizontalAlignment="Right" Margin="0,279,12,0" Name="button1" VerticalAlignment="Top" Width="75" />
        <Button Content="Quitar" Height="31" HorizontalAlignment="Right" Margin="0,279,107,0" Name="button2" VerticalAlignment="Top" Width="75" />
    </Grid>
</Page>
